//
//  ImageTunningUp.h
//  OCRReader
//
//  Created by Tomasz Krasnyk on 1/22/10.
//  Copyright 2010 Polidea. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CorrectingSkewDelegate<NSObject>
- (void) imageTunningUpControllerChangedImageTo:(UIImage *) image;
@end


@interface CorrectingSkewView : UIViewController {
	UIImageView *imageView;
	UISlider *skewSlider;
	UIScrollView *scrollViewWithImage;
	
	UIImage *originalImage;
	UIImage *originalImageScaled;
	
	UIImage *showingImage;
	
	id<CorrectingSkewDelegate> delegate;
}
@property (nonatomic, assign) id<CorrectingSkewDelegate> delegate;

- (id) initWithOriginalImage:(UIImage *) image;
@end

